{extend name="public/base" /}
{block name="body"}
<section class="content-header">
  <h1>
    数据报送
    <small>污染源数据报送</small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="{:url('/')}"><i class="fa fa-dashboard"></i> 面板</a></li>
    <li class="active">数据报送</li>
  </ol>
</section>
<section class="content">
    <form action="" method="POST" class="form-horizonta">
       <div class="form-group col-md-6">
          <label class="control-label col-sm-2 text-right" >报送任务说明:</label>
          <div class="col-sm-10">
          <input type="text" id="title" name="title" class="form-control" placeholder="报送任务说明：">
          </div>
        </div>
        <div class="form-group col-md-6">
          <label class="control-label col-sm-2 text-right" >所属污染源:</label>
          <div class="col-sm-10">
            <select name="source" id="source" class="form-control">
              {volist name="source" id="s"}
                <option value="{$s.id}">{$s.name}</option>
              {/volist}
            </select>
          </div>
        </div>
        
    {volist name="list" id="cate"  mod=2}
      <div class="col-md-6 report">
      <div class="box ">
        <div class="box-header bg-success text-center">
          <h4>{$cate.name}</h4>
        </div>
        <div class="box-body">

          <div class="x5"><h6 class="text-center bg-blue">进水浓度(mg/l)</h6></div>
          <div class="x5"><h6 class="text-center bg-yellow">出水浓度(mg/l)</h6></div>
          <div class="x2"> <h6 class="text-center bg-warning">去除率(%)</h6></div>
           {volist name="cate.fields" id="vo"}
              <input type="text" id="{$vo.field}[cid]" name="{$vo.field}[cid]" class="form-control hidden" hidden="hidden" value="{$vo.category}">
              <div class="x5">      
                  <div class="input-group">
                    <span class="input-group-addon">{$vo.name}</span>
                    <input type="text" id="{$vo.field}[in]" name="{$vo.field}[in]" class="form-control" placeholder="{$vo.name}进水浓度">
                  </div>
              </div>
              <div class="x5">
                   
                   <div class="input-group">
                    <span class="input-group-addon">{$vo.name}</span>
                    <input type="text" id="{$vo.field}[out]" name="{$vo.field}[out]" class="form-control" placeholder="{$vo.name}出水浓度">
                  </div>
              </div>
              <div class="x2">
                    <input type="text" id="{$vo.field}[clear]" name="{$vo.field}[clear]" class="form-control" placeholder="{$vo.name}去除率">
              </div>

           {/volist}
            
           {eq name="mod" value="1"}<div class="clearfix"></div>{/eq}
        </div>
        
      <!-- /.box-footer -->
      </div>
      </div>
    {/volist}
    <div class="col-xs-12">
    <div class="box ">
    <div class="box-footer clearfix ">
     
        <button type="reset" class="btn btn-default">重置表单</button>
        <button type="submit" class="btn btn-info pull-right">提交保存</button>
      </div>
    </div>
    </div>
    </form>
</section>
{/block}
{block name="scripts"}{/block}